package com.alks.entity.data.entity.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: chen
 * @date: 2024/11/13
 * @description: 系统配置
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SYS_CONFIG")
@ApiModel(value="系统配置", description="")
public class SysConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "参数主键")
    private Long configId;

    @ApiModelProperty(name = "参数名称")
    private String configName;

    @ApiModelProperty(name = "参数键名")
    private String configKey;

    @ApiModelProperty(name = "参数键值")
    private String configValue;

    @ApiModelProperty(name = "系统内置 Y=是,N=否")
    private String configType;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String remark;
}
